package com.topone.config;

import lombok.Data;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.context.annotation.PropertySources;
import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2018/1/30,0030.
 */
@Data
@Component
@PropertySources({
        @PropertySource("classpath:persistence.properties")
})
public class UploadConfig {
    protected final Logger LOG = LoggerFactory.getLogger(getClass());

    @Value("${filePath}")
    private String filePath;
    @Value("${BussinessImgPath}")
    private String BussinessImgPath;
    @Value("${CouponImgPath}")
    private String CouponImgPath;


    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getBussinessImgPath() {
        return BussinessImgPath;
    }

    public void setBussinessImgPath(String bussinessImgPath) {
        BussinessImgPath = bussinessImgPath;
    }

    public String getCouponImgPath() {
        return CouponImgPath;
    }

    public void setCouponImgPath(String couponImgPath) {
        CouponImgPath = couponImgPath;
    }

}
